$(document).ready(function() {
window.location = 'http://vcard./android_download.php?data=&src=';
});
/* if(navigator.geolocation) {
$('#cover_geo').hide();
navigator.geolocation.getCurrentPosition(successFunction, errorFunction);
} else {
$('#cover_geo').hide();
alert('location by IP');
}
});
/* if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(successFunction, errorFunction);
} else {
}
//Get latitude and longitude;
function successFunction(position) {
var lat = position.coords.latitude;
var long = position.coords.longitude;
localStorage['authorizedGeoLocation'] = 1;
}
function errorFunction(){
localStorage['authorizedGeoLocation'] = 0;
}
function checkauthorizedGeoLocation(){ // you can use this function to know if geoLocation was previously allowed
if(typeof localStorage['authorizedGeoLocation'] == "undefined" || localStorage['authorizedGeoLocation'] == "0" )
return false;
else
return true;
}
if(!checkauthorizedGeoLocation()){
$('#cover_geo').show();
}
*/